import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.HashMap;


public class RouterEngine 
{
	private HashMap <Integer, Port> ports;
	
	
	public RouterEngine()
	{
		
	}
	
    public void add(int portNum, String ip, int subnet, int mtu)
    {
    	Port port;
		try {
			port = new Port(portNum, ip, subnet, mtu);
			ports.put(portNum, port);
		} catch (UnknownHostException e) {
			e.printStackTrace();
		} catch (SocketException e) {
			e.printStackTrace();
		}
    
    }
    
    
 // TODO 
    
}
